export default [
  {
    deviceId: '1',
    deviceName: '摄像机1',
    deviceType: 1,
    pos: {
      bNo: 'a',
      fNo: '3F',
      x: 657,
      y: 208
    }
  },
  {
    deviceId: '2',
    deviceName: '摄像机2',
    deviceType: 1
  },
  {
    deviceId: '3',
    deviceName: '摄像机3',
    deviceType: 1,
    pos: {
      bNo: 'a',
      fNo: '1F',
      x: 757,
      y: 308
    }
  },
  {
    deviceId: '5',
    deviceName: '烟感1',
    deviceType: 2
  },
  {
    deviceId: '6',
    deviceName: '烟感2',
    deviceType: 2
  },
  {
    deviceId: '7',
    deviceName: '门禁1',
    deviceType: 3
  },
  {
    deviceId: '8',
    deviceName: '地磁1',
    deviceType: 4
  },
  {
    deviceId: '9',
    deviceName: '地磁2',
    deviceType: 4
  },
  {
    deviceId: '10',
    deviceName: '地磁3',
    deviceType: 4
  }
]

export const getDeviceList = function () {
  let data = {}
  data = {
    result: {
      pageResult: [
        {
          deviceId: 'a1',
          deviceName: '摄像头1',
          systemClass: '摄像头',
          subSystem: '摄像头啊',
          deviceFloor: '1',
          deviceArea: 'A',
          deviceBuilding: 1,
          comment: '无'
        },
        {
          deviceId: 'a2',
          deviceName: '烟感1',
          systemClass: '烟感',
          subSystem: '烟感啊',
          deviceFloor: '5',
          deviceArea: 'B',
          deviceBuilding: 2,
          comment: '10010'
        }
      ],
      totalCount: 5
    },
    message: 'success',
    status: 0
  }
  return data
}
